<?php

//UMA new
/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\ContactInfo;
use Faker\Generator as Faker;

$factory->define(ContactInfo::class, function (Faker $faker) {
    return [

        'first_name' => $faker->name(),
        'last_name' => $faker->name(),
        'first_name_kana' => 'ァアィイゥ',
        'last_name_kana' => 'ァアィイゥ',
        'bod' => now()->subYears(40)->toDateString(),
        'zip' => $faker->numberBetween(1000000, 9999999),
        'pref' => $faker->name(),
        'city' => $faker->name(),
        'town' => $faker->name(),
        'building' => $faker->name(),
        'email' => $faker->email,
        'mobile' => '080'.random_int(10000000, 99999999),
        'tel' => '0123456789',
        'first_contact_date' => [
            'date' => now()->addDays(1)->toDateString(),
            'time' => 'am',
        ],
        'second_contact_date' => [
            'date' => now()->addDays(3)->toDateString(),
            'time' => 'pm'
        ],
        'region' => $faker->name(),
        'real_estate_info' => $faker->name(),
        'message' => $faker->name(),
        'privacy_term_accepted' => 1,
        'temporary_member_id' => $faker->word(),
    ];
});
